From: Benjamin Drung Date: Fri, 5 Apr 2013 11:06:38 +0000 (+0100) Subject: libsoxr (0.1.1-1) unstable; urgency=low X-Git-Tag: archive/raspbian/0.1.3-4+rpi1~1^2^2^2^2~1 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9cf6a6d6b5824d7176589e2e62cc1cf5f20c11b6;p=libsoxr.git libsoxr (0.1.1-1) unstable; urgency=low * New upstream release. * Link examples with -lm. Thanks to Martin Pitt for the patch. [dgit import unpatched libsoxr 0.1.1-1] --- 9cf6a6d6b5824d7176589e2e62cc1cf5f20c11b6 diff --cc debian/changelog index 0000000,0000000..d64e5b3 new file mode 100644 --- /dev/null +++ b/debian/changelog @@@ -1,0 -1,0 +1,12 @@@ ++libsoxr (0.1.1-1) unstable; urgency=low ++ ++ * New upstream release. ++ * Link examples with -lm. Thanks to Martin Pitt for the patch. ++ ++ -- Benjamin Drung Fri, 05 Apr 2013 13:06:38 +0200 ++ ++libsoxr (0.1.0-1) unstable; urgency=low ++ ++ * Initial release (Closes: #697614). ++ ++ -- Benjamin Drung Sat, 19 Jan 2013 13:59:15 +0100 diff --cc debian/compat index 0000000,0000000..ec63514 new file mode 100644 --- /dev/null +++ b/debian/compat @@@ -1,0 -1,0 +1,1 @@@ ++9 diff --cc debian/control index 0000000,0000000..60ab8b1 new file mode 100644 --- /dev/null +++ b/debian/control @@@ -1,0 -1,0 +1,66 @@@ ++Source: libsoxr ++Section: libs ++Priority: optional ++Maintainer: Debian Multimedia Maintainers ++Uploaders: Benjamin Drung ++Build-Depends: cmake (>= 2.8), debhelper (>= 9) ++Standards-Version: 3.9.4 ++Homepage: http://sourceforge.net/projects/soxr/ ++XS-Testsuite: autopkgtest ++Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/libsoxr.git ++Vcs-Git: git://anonscm.debian.org/pkg-multimedia/libsoxr.git ++ ++Package: libsoxr0 ++Architecture: any ++Multi-Arch: same ++Pre-Depends: ${misc:Pre-Depends} ++Depends: ${misc:Depends}, ${shlibs:Depends} ++Description: High quality 1D sample-rate conversion library ++ The SoX Resampler library `libsoxr' performs one-dimensional sample-rate ++ conversion - it may be used, for example, to resample PCM-encoded audio. ++ . ++ It aims to give fast and high quality results for any constant (rational or ++ irrational) resampling ratio. Phase-response, preserved bandwidth, aliasing, ++ and rejection level parameters are all configurable; alternatively, simple ++ `preset' configurations may be selected. ++ . ++ A simple API is provided that allows interfacing using commonly-used sample ++ formats and buffering schemes. ++ ++Package: libsoxr-lsr0 ++Architecture: any ++Multi-Arch: same ++Pre-Depends: ${misc:Pre-Depends} ++Depends: ${misc:Depends}, ${shlibs:Depends} ++Description: High quality 1D sample-rate conversion library (libsamplerate bindings) ++ The SoX Resampler library `libsoxr' performs one-dimensional sample-rate ++ conversion - it may be used, for example, to resample PCM-encoded audio. ++ . ++ It aims to give fast and high quality results for any constant (rational or ++ irrational) resampling ratio. Phase-response, preserved bandwidth, aliasing, ++ and rejection level parameters are all configurable; alternatively, simple ++ `preset' configurations may be selected. ++ . ++ This package contains bindings compatible with the resampling library ++ `libsamplerate' (constant rate). ++ ++Package: libsoxr-dev ++Section: libdevel ++Architecture: any ++Multi-Arch: same ++Depends: libsoxr-lsr0 (= ${binary:Version}), ++ libsoxr0 (= ${binary:Version}), ++ ${misc:Depends} ++Description: High quality 1D sample-rate conversion library (development files) ++ The SoX Resampler library `libsoxr' performs one-dimensional sample-rate ++ conversion - it may be used, for example, to resample PCM-encoded audio. ++ . ++ It aims to give fast and high quality results for any constant (rational or ++ irrational) resampling ratio. Phase-response, preserved bandwidth, aliasing, ++ and rejection level parameters are all configurable; alternatively, simple ++ `preset' configurations may be selected. ++ . ++ A simple API is provided that allows interfacing using commonly-used sample ++ formats and buffering schemes. ++ . ++ This package contains the development files. diff --cc debian/copyright index 0000000,0000000..c255b2f new file mode 100644 --- /dev/null +++ b/debian/copyright @@@ -1,0 -1,0 +1,108 @@@ ++Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ ++Upstream-Name: libsoxr ++Upstream-Contact: Rob Sykes ++Source: https://sourceforge.net/projects/soxr/files/ ++ ++Files: * ++Copyright: 2007-2013, Rob Sykes ++License: LGPL-2.1+ ++ ++Files: cmake/Modules/FindOpenMP.cmake cmake/Modules/FindSIMD.cmake ++Copyright: 2009, Kitware, Inc. ++ 2008-2009, André Rigland Brodtkorb ++License: BSD-3-clause ++ Redistribution and use in source and binary forms, with or without ++ modification, are permitted provided that the following conditions are ++ met: ++ . ++ * Redistributions of source code must retain the above copyright notice, ++ this list of conditions and the following disclaimer. ++ . ++ * Redistributions in binary form must reproduce the above copyright notice, ++ this list of conditions and the following disclaimer in the documentation ++ and/or other materials provided with the distribution. ++ . ++ * The names of Kitware, Inc., the Insight Consortium, or the names of ++ any consortium members, or of any contributors, may not be used to ++ endorse or promote products derived from this software without ++ specific prior written permission. ++ . ++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS ``AS IS'' ++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE ++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ++ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ++ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL ++ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR ++ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER ++ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ++ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ++ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ++ ++Files: src/pffft.c src/pffft.h ++Copyright: 2011, Julien Pommier ++ 2004, The University Corporation for Atmospheric Research ++License: BSD-3-clause ++ Redistribution and use of the Software in source and binary forms, ++ with or without modification, is permitted provided that the ++ following conditions are met: ++ . ++ - Neither the names of NCAR's Computational and Information Systems ++ Laboratory, the University Corporation for Atmospheric Research, ++ nor the names of its sponsors or contributors may be used to ++ endorse or promote products derived from this Software without ++ specific prior written permission. ++ . ++ - Redistributions of source code must retain the above copyright ++ notices, this list of conditions, and the disclaimer below. ++ . ++ - Redistributions in binary form must reproduce the above copyright ++ notice, this list of conditions, and the disclaimer below in the ++ documentation and/or other materials provided with the ++ distribution. ++ . ++ THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ++ EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE WARRANTIES OF ++ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ++ NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT ++ HOLDERS BE LIABLE FOR ANY CLAIM, INDIRECT, INCIDENTAL, SPECIAL, ++ EXEMPLARY, OR CONSEQUENTIAL DAMAGES OR OTHER LIABILITY, WHETHER IN AN ++ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN ++ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE ++ SOFTWARE. ++ ++Files: src/fft4g.c ++Copyright: 1996-2001, Takuya OOURA ++License: permissive ++ You may use, copy, modify and distribute this code for any ++ purpose (include commercial use) and without fee. Please ++ refer to this package when you modify this code. ++ http://www.kurims.kyoto-u.ac.jp/~ooura/fft.html ++ ++Files: src/dbesi0.c ++Copyright: 1996, Takuya OOURA ++License: permissive ++ You may use, copy, modify this code for any purpose and ++ without fee. ++ ++Files: debian/* ++Copyright: 2012-2013, Benjamin Drung ++License: LGPL-2.1+ ++ ++License: LGPL-2.1+ ++ This library is free software; you can redistribute it and/or modify it ++ under the terms of the GNU Lesser General Public License as published by ++ the Free Software Foundation; either version 2.1 of the License, or (at ++ your option) any later version. ++ . ++ This library is distributed in the hope that it will be useful, but ++ WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser ++ General Public License for more details. ++ . ++ You should have received a copy of the GNU Lesser General Public License ++ along with this library; if not, write to the Free Software Foundation, ++ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ++ . ++ On Debian systems, the full text of the GNU Lesser General Public ++ License version 2.1 can be found in the file ++ `/usr/share/common-licenses/LGPL-2.1'. diff --cc debian/libsoxr-dev.install index 0000000,0000000..fe2190f new file mode 100644 --- /dev/null +++ b/debian/libsoxr-dev.install @@@ -1,0 -1,0 +1,7 @@@ ++usr/include ++usr/lib/*/libsoxr-lsr.so ++usr/lib/*/libsoxr.so ++usr/lib/*/pkgconfig ++usr/share/doc/libsoxr-dev/NEWS ++usr/share/doc/libsoxr-dev/README ++usr/share/doc/libsoxr-dev/examples diff --cc debian/libsoxr-lsr0.install index 0000000,0000000..54c2c4a new file mode 100644 --- /dev/null +++ b/debian/libsoxr-lsr0.install @@@ -1,0 -1,0 +1,1 @@@ ++usr/lib/*/libsoxr-lsr.so.0* diff --cc debian/libsoxr-lsr0.symbols index 0000000,0000000..76f7990 new file mode 100644 --- /dev/null +++ b/debian/libsoxr-lsr0.symbols @@@ -1,0 -1,0 +1,19 @@@ ++libsoxr-lsr.so.0 libsoxr-lsr0 #MINVER# ++ src_callback_new@Base 0.1.0 ++ src_callback_read@Base 0.1.0 ++ src_delete@Base 0.1.0 ++ src_error@Base 0.1.0 ++ src_float_to_int_array@Base 0.1.0 ++ src_float_to_short_array@Base 0.1.0 ++ src_get_description@Base 0.1.0 ++ src_get_name@Base 0.1.0 ++ src_get_version@Base 0.1.0 ++ src_int_to_float_array@Base 0.1.0 ++ src_is_valid_ratio@Base 0.1.0 ++ src_new@Base 0.1.0 ++ src_process@Base 0.1.0 ++ src_reset@Base 0.1.0 ++ src_set_ratio@Base 0.1.0 ++ src_short_to_float_array@Base 0.1.0 ++ src_simple@Base 0.1.0 ++ src_strerror@Base 0.1.0 diff --cc debian/libsoxr0.install index 0000000,0000000..0023f02 new file mode 100644 --- /dev/null +++ b/debian/libsoxr0.install @@@ -1,0 -1,0 +1,1 @@@ ++usr/lib/*/libsoxr.so.0* diff --cc debian/libsoxr0.symbols index 0000000,0000000..98a706a new file mode 100644 --- /dev/null +++ b/debian/libsoxr0.symbols @@@ -1,0 -1,0 +1,19 @@@ ++libsoxr.so.0 libsoxr0 #MINVER# ++ soxr_clear@Base 0.1.0 ++ soxr_create@Base 0.1.0 ++ soxr_delay@Base 0.1.0 ++ soxr_delete@Base 0.1.0 ++ soxr_engine@Base 0.1.0 ++ soxr_error@Base 0.1.0 ++ soxr_io_spec@Base 0.1.0 ++ soxr_num_clips@Base 0.1.0 ++ soxr_oneshot@Base 0.1.0 ++ soxr_output@Base 0.1.0 ++ soxr_process@Base 0.1.0 ++ soxr_quality_spec@Base 0.1.0 ++ soxr_runtime_spec@Base 0.1.0 ++ soxr_set_error@Base 0.1.0 ++ soxr_set_input_fn@Base 0.1.0 ++ soxr_set_io_ratio@Base 0.1.0 ++ soxr_set_num_channels@Base 0.1.0 ++ soxr_version@Base 0.1.0 diff --cc debian/patches/example_linking.patch index 0000000,0000000..290e8c2 new file mode 100644 --- /dev/null +++ b/debian/patches/example_linking.patch @@@ -1,0 -1,0 +1,14 @@@ ++Description: Link examples with -lm, as some examples use functions like sin(). ++Author: Martin Pitt ++ ++--- a/inst-check-soxr +++++ b/inst-check-soxr ++@@ -29,7 +29,7 @@ ++ for f in ?$2-*.[cC]; do ++ cc=cc; echo $f | grep -q C$ && cc=c++ ++ out=$tmp/`echo $f | sed "s/.[cC]$//"` ++- cmd="$cc $cflags -o $out $f $libs" +++ cmd="$cc $cflags -o $out $f $libs -lm" ++ echo $cmd; $cmd ++ done ++ } diff --cc debian/patches/series index 0000000,0000000..4bbf991 new file mode 100644 --- /dev/null +++ b/debian/patches/series @@@ -1,0 -1,0 +1,1 @@@ ++example_linking.patch diff --cc debian/rules index 0000000,0000000..11b587a new file mode 100755 --- /dev/null +++ b/debian/rules @@@ -1,0 -1,0 +1,12 @@@ ++#!/usr/bin/make -f ++ ++DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) ++ ++%: ++ dh $@ --parallel ++ ++override_dh_auto_configure: ++ dh_auto_configure -- -DLIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) -DDOC_INSTALL_DIR=/usr/share/doc/libsoxr-dev ++ ++override_dh_compress: ++ dh_compress -X.c -X.C diff --cc debian/source/format index 0000000,0000000..163aaf8 new file mode 100644 --- /dev/null +++ b/debian/source/format @@@ -1,0 -1,0 +1,1 @@@ ++3.0 (quilt) diff --cc debian/tests/control index 0000000,0000000..acb66e2 new file mode 100644 --- /dev/null +++ b/debian/tests/control @@@ -1,0 -1,0 +1,2 @@@ ++Tests: inst-check ++Depends: build-essential, libsoxr-dev, pkg-config diff --cc debian/tests/inst-check index 0000000,0000000..bac210d new file mode 100755 --- /dev/null +++ b/debian/tests/inst-check @@@ -1,0 -1,0 +1,4 @@@ ++#!/bin/sh ++set -e ++ ++./inst-check /usr/share/doc/libsoxr-dev/examples diff --cc debian/watch index 0000000,0000000..5f4695d new file mode 100644 --- /dev/null +++ b/debian/watch @@@ -1,0 -1,0 +1,2 @@@ ++version=3 ++http://sf.net/soxr/soxr-(.+)-Source\.tar\.xz